<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head><title>审核 - 其它缺陷管理 - 管体缺陷</title></head>
<body>
    <!-- content-body -->
    <div class="main-inner">
        <div class="content-inner">
            <div class="meta-head">
                <h3><i class="zy-sunshang-icon"></i>其它缺陷管理 <i class="zy-url-arrow"></i> 审核</h3>
            </div>
            <div class="zy-wind-line">
                <div class="zy-input-group w-31">
                    <div class="zy-input-meta">管道名称</div>
                    <div class="zy-line-inner">
                        <span>${defect.lineName}</span>
                    </div>
                </div>
                <div class="zy-sp"></div>
                <div class="zy-input-group w-31">
                    <div class="zy-input-meta">缺陷编号</div>
                    <div class="zy-line-inner">
                        <span title="${defect.customNumber}">${defect.customNumber}</span>
                    </div>
                </div>
                <div class="zy-sp"></div>
                <div class="zy-input-group w-31">
                    <div class="zy-input-meta">发现时间</div>
                    <div class="zy-line-inner">
                        <span>${defect.foundTimeStr}</span>
                    </div>
                </div>
                <div class="clear"></div>
            </div>
            <div class="zy-wind-line">
                <div class="zy-input-group w-31">
                    <div class="zy-input-meta">缺陷类型</div>
                    <div class="zy-line-inner">
                        <span>${defect.featureSubtype}</span>
                    </div>
                </div>
                <div class="zy-sp"></div>
                <div class="zy-input-group w-31">
                    <div class="zy-input-meta">缺陷来源</div>
                    <div class="zy-line-inner">
                        <span>${defect.source}</span>
                    </div>
                </div>
                <div class="zy-sp"></div>
                <div class="zy-input-group w-31">
                    <div class="zy-input-meta">绝对距离</div>
                    <div class="zy-line-inner">
                        <span>${defect.mileage}</span>
                        <label class="zy-i-label w-10">m</label>
                    </div>
                </div>
                <div class="clear"></div>
            </div>
            <div class="zy-wind-line">
                <div class="zy-input-group w-31">
                    <div class="zy-input-meta">坐标位置(x)</div>
                    <div class="zy-line-inner">
                        <span>${defect.x}</span>
                    </div>
                </div>
                <div class="zy-sp"></div>
                <div class="zy-input-group w-31">
                    <div class="zy-input-meta">坐标位置(y)</div>
                    <div class="zy-line-inner">
                        <span>${defect.y}</span>
                    </div>
                </div>
                <div class="zy-sp"></div>
                <div class="zy-input-group w-31">
                    <div class="zy-input-meta">坐标位置(z)</div>
                    <div class="zy-line-inner">
                        <span>${defect.z}</span>
                    </div>
                </div>
                <div class="clear"></div>
            </div>
            <div class="zy-wind-line">
                <div class="zy-input-group w-31">
                    <div class="zy-input-meta">缺陷尺寸(长)</div>
                    <div class="zy-line-inner">
                        <span>${defect.length}</span>
                        <label class="zy-i-label w-10">mm</label>
                    </div>
                </div>
                <div class="zy-sp"></div>
                <div class="zy-input-group w-31">
                    <div class="zy-input-meta">缺陷尺寸(宽)</div>
                    <div class="zy-line-inner">
                        <span>${defect.width}</span>
                        <label class="zy-i-label w-10">mm</label>
                    </div>
                </div>
                <div class="zy-sp"></div>
                <div class="zy-input-group w-31">
                    <div class="zy-input-meta">缺陷尺寸(峰值深度)</div>
                    <div class="zy-line-inner">
                        <span>${defect.depth}</span>
                        <label class="zy-i-label w-10">%</label>
                    </div>
                </div>
                <div class="clear"></div>
            </div>
            <div class="zy-wind-line">
                <div class="zy-input-group w-31">
                    <div class="zy-input-meta">埋深</div>
                    <div class="zy-line-inner">
                        <span>${defect.buriedDepth}</span>
                        <label class="zy-i-label w-10">m</label>
                    </div>
                </div>
                <div class="zy-sp"></div>
                <div class="zy-input-group w-31">
                    <div class="zy-input-meta">时钟位置</div>
                    <div class="zy-line-inner">
                        <span>${defect.clock}</span>
                        <label class="zy-i-label w-10">h:min</label>
                    </div>
                </div>
                <div class="zy-sp"></div>
                <div class="zy-input-group w-31">
                    <div class="zy-input-meta">修复方法</div>
                    <div class="zy-line-inner">
                        <span>${defect.repairName}</span>
                    </div>
                </div>
                <div class="clear"></div>
            </div>
            <div class="zy-wind-line">
                <div class="zy-input-group w-31">
                    <div class="zy-input-meta">照片</div>
                    <div class="zy-image-inner">
                        <div id="JQ_defect_image"></div>
                        <c:forEach items="${image}" var="i">
                            <input type="hidden" name="zy_image" value="${i.path}">
                        </c:forEach>
                    </div>
                </div>
                <div class="clear"></div>
            </div>
            <div class="zy-wind-line t-r">
                <button id="JQ_adopt_btn" class="zy-button zy-submit" type="button"><i class="zy-submit-icon"></i>审核通过</button>&nbsp;&nbsp;&nbsp;&nbsp;
                <button id="JQ_notadopt_btn" class="zy-button zy-set-cancel" type="button"><i class="zy-nopass-icon"></i>审核不通过</button>&nbsp;&nbsp;&nbsp;&nbsp;
                <button id="JQ_goback_btn" class="zy-button zy-goback" type="button"><i class="zy-goback-icon"></i>返回</button>
            </div>
        </div>
    </div>
    <!-- auditing box -->
    <div class="zy-action-box zy-auditing-box">
        <div class="zy-action-title">
            <span class="zy-action-span">请填写审核不通过原因</span>
            <i class="zy-action-close"></i>
            <input type="hidden" value="${defect.id}" id="JQ_non_id">
        </div>
        <div class="zy-action-inner">
            <div class="zy-form-line">
                <div class="zy-textarea-inner">
                    <textarea id="JQ_remark" class="zy-textarea w-100" autocomplete="off"></textarea>
                </div>
            </div>
            <div class="zy-form-line t-r">
                <br>
                <br>
                <button type="button" class="zy-button zy-submit" id="JQ_action_yes_btn">确认</button>&nbsp;&nbsp;&nbsp;&nbsp;
                <button type="button" class="zy-button" id="JQ_action_no_btn">取消</button>
            </div>
        </div>
    </div>
    <!-- 大图展示 -->
    <div id="JQ_img_div"></div>
    <!-- ui -->
    <script src="${pageContext.request.contextPath}/static/js/ui/ui-main.js"></script>
    <!-- base -->
    <script src="${pageContext.request.contextPath}/static/js/controller/base/base.controller.js"></script>
    <!-- api -->
    <script src="${pageContext.request.contextPath}/static/js/controller/api/defect.api.js"></script>
    <!-- controller -->
    <script src="${pageContext.request.contextPath}/static/js/controller/defect/noninternal/noninternalAuditing.controller.js"></script>
</body>
</html>
